#!/bin/bash

if [ ! -f util/.serverpod_util_root ]; then
    echo "Run this script from the root of the Serverpod repository"
    echo "I.e. util/run_tests_bootstrap"
    exit 1
fi

# Makes script exit on first non-zero error code
set -e

cd tests/bootstrap_project

dart test --concurrency=1

